// 通用API响应类型
export interface ApiResponse<T = any> {
  code: number
  msg: string
  data: T
}

// 分页数据通用类型
export interface PaginationData<T = any> {
  records: T[]
  total: number
  size: number
  current: number
  orders: any[]
  optimizeCountSql: boolean
  searchCount: boolean
  optimizeJoinOfCountSql: boolean
  maxLimit: number | null
  countId: string | null
  pages: number
}
